package cn.cqie.frame.bo.query;

import cn.cqie.frame.bo.PageReqBo;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 谢一弘
 * @date 2021/9/3  10:46
 */
@Data
@ApiModel("查询用户")
public class QueryUserListReqBo extends PageReqBo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "登录账号")
    private String account;

    @ApiModelProperty(value = "0:正常 1:禁用")
    private String status;

    @ApiModelProperty(value = "创建时间	")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
